package com.yeyuan.entity;

import com.google.common.base.Charsets;
import com.google.common.hash.Hashing;

public class User {
	private int userID;
	private String userName;
	private String password;
	private String loginCode;
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}

	

	public String getPassword() {
		return Hashing.md5().newHasher().putString(password, Charsets.UTF_8).hash().toString();
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getLoginCode() {
		return loginCode;
	}
	public void setLoginCode(String loginCode) {
		this.loginCode = loginCode;
	}
	public int getUserID() {
		return userID;
	}
	public void setUserID(int userID) {
		this.userID = userID;
	}
	
	
}
